<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var linkStr = "/black-mountain/35-cotton-creek-cir-black-mountain-nc-421_537763.html";  
			// 括号表示组。访问可以用group[index]来访问每组的信息  
			var linkRegx = /\/([^\/]+)\/.+-(\d+)_(\d+).html/;  
			var group = linkStr.match(linkRegx);  
			console.log(group);  
		</script>
	</body>
</html>
